/*
 * Mostrar.java
 *
 * Created on 31 de marzo de 2009, 16:57
 */

package finaltsb.GUI;

/**
 *
 * @author  ANA
 */
public class Mostrar extends javax.swing.JFrame {
    
    /** Creates new form Mostrar */
    public Mostrar() {
        initComponents();
        
        this.setDefaultCloseOperation(Principal.DISPOSE_ON_CLOSE);
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jpMostrar = new javax.swing.JPanel();
        jspMostrar = new javax.swing.JScrollPane();
        jtaMostrar = new javax.swing.JTextArea();
        jlbcoment = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(finaltsb.FinalTSBApp.class).getContext().getResourceMap(Mostrar.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setName("Form"); // NOI18N
        setResizable(false);

        jpMostrar.setName("jpMostrar"); // NOI18N

        jspMostrar.setName("jspMostrar"); // NOI18N

        jtaMostrar.setColumns(20);
        jtaMostrar.setRows(5);
        jtaMostrar.setName("jtaMostrar"); // NOI18N
        jspMostrar.setViewportView(jtaMostrar);

        jlbcoment.setText(resourceMap.getString("jlbcoment.text")); // NOI18N
        jlbcoment.setName("jlbcoment"); // NOI18N

        javax.swing.GroupLayout jpMostrarLayout = new javax.swing.GroupLayout(jpMostrar);
        jpMostrar.setLayout(jpMostrarLayout);
        jpMostrarLayout.setHorizontalGroup(
            jpMostrarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jpMostrarLayout.createSequentialGroup()
                .addGap(45, 45, 45)
                .addGroup(jpMostrarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jlbcoment, javax.swing.GroupLayout.PREFERRED_SIZE, 268, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jspMostrar, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(77, Short.MAX_VALUE))
        );
        jpMostrarLayout.setVerticalGroup(
            jpMostrarLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jpMostrarLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jlbcoment)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 17, Short.MAX_VALUE)
                .addComponent(jspMostrar, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(25, 25, 25))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jpMostrar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jpMostrar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Mostrar().setVisible(true);
            }
        });
    }
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jlbcoment;
    private javax.swing.JPanel jpMostrar;
    private javax.swing.JScrollPane jspMostrar;
    private javax.swing.JTextArea jtaMostrar;
    // End of variables declaration//GEN-END:variables
    
}
